package udp.message;

public class CreateAccountMessage extends LibraryMessage {

	static final long serialVersionUID = 16L;
	
	private String firstName;
	private String lastName;
	private String emailAddress;
	private String phoneNumber;
	private String username;
	private String password;
	private String edu;
	private String result;
	private String replicaId;
	
	public CreateAccountMessage(String firstName, String lastName, String emailAddress, String phoneNumber, 
			String username, String password, String edu){
		super(LibraryMessageTypeEnum.CREATE_ACCOUNT);
		this.firstName = firstName;
		this.lastName = lastName;
		this.emailAddress = emailAddress;
		this.phoneNumber = phoneNumber;
		this.username = username;
		this.password = password;
		this.edu = edu;
		this.result = "false";
		this.replicaId ="";
	}
	
	
	public String getReplicaId() {
		return replicaId;
	}


	public void setReplicaId(String replicaId) {
		this.replicaId = replicaId;
	}


	public String getFirstName() {
		return firstName;
	}
	
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	
	public String getLastName() {
		return lastName;
	}
	
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	
	public String getEmailAddress() {
		return emailAddress;
	}
	public void setEmailAddress(String emailAddress) {
		this.emailAddress = emailAddress;
	}
	
	public String getPhoneNumber() {
		return phoneNumber;
	}
	
	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}
	
	public String getUsername() {
		return username;
	}
	
	public void setUsername(String username) {
		this.username = username;
	}
	
	public String getPassword() {
		return password;
	}
	
	public void setPassword(String password) {
		this.password = password;
	}
	
	public String getEdu() {
		return edu;
	}
	
	public void setEdu(String edu) {
		this.edu = edu;
	}
	
	public void setResult(String result){
		this.result = result;
	}
	
	public String getResult(){
		return result = result;
	}
	
}
